package com.txx.myspringboot.ioc.Bean;

import lombok.*;

import java.util.List;

@Setter
@Getter
@ToString
@EqualsAndHashCode
public class Student {

    private String name;

    private Integer age;

    private List<String> classList;

    public Student(String name, Integer age, List<String> classList) {
        this.name = name;
        this.age = age;
        this.classList = classList;
    }
}
